package com.atguigu.product.products.feign;


import com.atguigu.common.to.es.SpuUpTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


@FeignClient("gulimall-search")
public interface SearchFeign {

    @PostMapping("/search/save")
    void searchSave(@RequestBody List<SpuUpTo> spuUpTos);
}
